home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 10
/
FM Towns Free Software Collection 10.iso
/
ms_dos
/
tool
/
dbench
/
softtime
/
getcps.asm
next >
Wrap
Assembly Source File
|
1995-01-23
|
282b
|
25 lines
.MODEL SMALL,C
.CODE
ST_getcallpersec PROC uses si di
xor si,si
xor di,di
mov ah,2ch
int 21h
mov bh,dh
@@: int 21h
cmp bh,dh
je @b
mov bh,dh
@@: int 21h
add si,1
adc di,0
cmp bh,dh
je @b
mov ax,si
mov dx,di
ret
ST_getcallpersec ENDP
END